Bitslicing Arithmetic/Boolean Masking Conversions for Fun and Profit

نویسندگان

چکیده

The performance of higher-order masked implementations lattice-based based key encapsulation mechanisms (KEM) is currently limited by the costly conversions between arithmetic and Boolean masking. While bitslicing has been shown to strongly speed up symmetric primitives, its use in arithmetic-to-Boolean Boolean-to-arithmetic masking conversion gadgets never thoroughly investigated. In this paper, we first show that can indeed accelerate existing gadgets. We then optimize these gadgets, exploiting degrees freedom offered bitsliced implementations. As a result, introduce new arbitrary-order addition, each two variants: modulo 2k p (for any integers k p). Practically, our achieve speedup 25x over state art. Turning KEM application, develop open-source embedded (Cortex-M4) Kyber768 Saber at arbitrary order. on 1.8x for Kyber 3x Saber, compared implementation state-of-the-art bottleneck bitslice Keccak-f[1600] permutation.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

DNS for Fun and Profit

The DNS is a well studied and well known application service protocol. Systems and appliances around the net have been using DNS for years and many security issues have been discussed. Recently, two things have again droven the attention to this old horse. First, after more than a decade of work, DNS Security extensions (DNSSEC) have finally reached a level of maturity that deployment is in the...

متن کامل

Biotechnology for Fun and Profit

Biotechnology will be defined here as the application of chemical processes that use either biological catalysts or biological raw materials and that occur in vats or tanks of man's design. We can illustrate each component of this definition with the example of home winemaking, in which the biological raw material is sugar and the biological catalyst is yeast. As the fermentation occurs, alcoho...

متن کامل

DPA, Bitslicing and Masking at 1 GHz

We present DPA attacks on an ARM Cortex-A8 processor running at 1 GHz. This high-end processor is typically found in portable devices such as phones and tablets. In our case, the processor sits in a single board computer and runs a full-fledged Linux operating system. The targeted AES implementation is bitsliced and runs in constant time and constant flow. We show that, despite the complex hard...

متن کامل

QuickCheck Testing for Fun and Profit

One of the nice things about purely functional languages is that functions often satisfy simple properties, and enjoy simple algebraic relationships. Indeed, if the functions of an API satisfy elegant laws, that in itself is a sign of a good design— the laws not only indicate conceptual simplicity, but are useful in practice for simplifying programs that use the API, by equational reasoning or ...

متن کامل

Build Buddy for Fun and Profit

We present a build and packaging system called Build Buddy. The system is comprised of a set of tools for building and maintaining software packages on multiple operating systems and architectures.

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: IACR transactions on cryptographic hardware and embedded systems

سال: 2022

ISSN: ['2569-2925']

DOI: https://doi.org/10.46586/tches.v2022.i4.553-588